package cn.tedu.springmvc.dto;

public class UserRegDTO {

    // https://www.zhihu.com/question/28557115
    // https://www.zhihu.com/question?id=28557115

    private String hahahahaha;
    private String password;
    private Integer age;

    public String getUsername() {
        return hahahahaha;
    }

    // admin=root
    // admin
    // Admin
    // setAdmin
    // setAdmin("root")
    public void setAdmin(String username) {
        this.hahahahaha = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserRegDTO{" +
                "username='" + hahahahaha + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                '}';
    }

}
